package com.tocean.app.util;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(name = "stem",url = "http://112.74.105.17:20003/question-bank")
public interface TopicFeign {
    @RequestMapping(method = RequestMethod.GET,value = "/api/stem/{stemId}")
    public String getData(@PathVariable("stemId") Long stemId);

}
